home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 09 - 1993 / 09.08 Aug 93 / Other AppleScript Samples / Simple Drop Examples / Report Files.txt < prev    next >
Encoding:
Text File  |  1993-07-02  |  256 b   |  12 lines  |  [TEXT/ToyS]

  1. on open names
  2.     repeat with i in names
  3.         set f to info for i
  4.         if f's file type is "APPL" and f's file creator = "dplt" then
  5.             tell application (i as string)
  6.                 activate -- droplet
  7.                 report()
  8.             end tell
  9.         end if
  10.     end repeat
  11.     activate -- Editor
  12. end open